//
//  ViewController.m
//  cehaakakka
//
//  Created by King on 15/9/7.
//  Copyright (c) 2015年 King. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    int a = 10;
    
    void (^block)(void) = ^{
       
        NSLog(@"%d,%p",a,&a);
        
    };
    
    a = 16;
    NSLog(@"%d,%p",a, &a);
    block();
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
